projects
/
gpsbabel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6e319e8
)
simplify osm_tag option processing. (#1325)
author
tsteven4
<13596209+tsteven4@users.noreply.github.com>
Sat, 17 Aug 2024 17:37:13 +0000
(11:37 -0600)
committer
GitHub
<noreply@github.com>
Sat, 17 Aug 2024 17:37:13 +0000
(11:37 -0600)
I suspect the check of "tagnd" was used in developement before
opt_tagnd was added. The only thing the check did was ignore
opt_tag values that started with tagnd, they weren't used elsewhere.
osm.cc
patch
|
blob
|
history
diff --git
a/osm.cc
b/osm.cc
index f24f0ee49361ff468f4af078cce60f7643adfbb6..bb0c62db3409b0cb1f63a280df3f158c40d1b193 100644
(file)
--- a/
osm.cc
+++ b/
osm.cc
@@
-835,9
+835,7
@@
OsmFormat::osm_rte_disp_trail(const route_head* route)
osm_write_tag("name", route->rte_name);
osm_write_tag("note", route->rte_desc);
- if (opt_tag && (case_ignore_strncmp(opt_tag, "tagnd", 5) != 0)) {
- osm_write_opt_tag(opt_tag);
- }
+ osm_write_opt_tag(opt_tag);
fout->writeEndElement(); // way
}